package com.netty.im.cocurrent;


/**
 * @author 李醴茝
 */
public interface CallbackTask<R> {

    R execute() throws Exception;

    void onBack(R r);

    void onException(Throwable t);
}
